package com.wnhz.wnmap.smovie.movie.dao;

import com.wnhz.wnmap.domain.entity.Movie;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IMovieDao extends JpaRepository<Movie,Integer> {


    List<Movie> findAll();;


    List<Movie> findByNameLike(String name);


}
